package carRental;

public class CarRental {
    //创建汽车数组，将汽车的信息放在数组中
    public JiaoCar[] jiaoMake(){
        JiaoCar c1 = new JiaoCar("京NY28588", "宝马", 800, "x6");
        JiaoCar c2 = new JiaoCar("京CNY3284", "宝马", 600, "550i");
        JiaoCar c3 = new JiaoCar("京NT37465", "别克", 300, "林荫大道");
        JiaoCar c4 = new JiaoCar("京NT96928", "别克", 600, "GL8");
        JiaoCar[] arr1 ={c1,c2,c3,c4};
        return arr1;
    }
    //创建客车数组，将汽车的信息放在数组中
    public KeCar[] keMake(){
        KeCar b1 = new KeCar("京6566754", "金杯", 800, "16座");
        KeCar b2 = new KeCar("京8696667", "金龙", 800, "16座");
        KeCar b3 = new KeCar("京9696996", "金杯", 1500, "34座");
        KeCar b4 = new KeCar("京8696998", "金龙", 1500, "34座");
        KeCar[] arr2={b1,b2,b3,b4};
        return arr2;
    }
}